-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: playbook AI Action #1693
feat: playbook AI Action #1693
Conversation
dfcb3cc
to
7930a7e
Compare
2526270
to
f9265d4
Compare
f9265d4
to
a27dc5a
Compare
e8d32d7
to
642912a
Compare
config/schemas/openapi.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bringing this in from duty.
It's a hassle to update schemas as we need to first make a duty release with an unmerged schema.
[skip ci]
[skip ci]
* just provide a minimal graph without the config (manifests) [skip ci]
ea0ec78
to
a794141
Compare
playbook/actions/ai.go
Outdated
type AIAction struct{} | ||
|
||
type AIActionResult struct { | ||
Logs string `json:"logs,omitempty"` // TODO: only naming this "logs" because the frontend has proper formatted display for this field |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to return a markdown response,
We could probably convert https://codesandbox.io/p/sandbox/markdown-to-slack-converter-iphgn?file=%2Fsrc%2Findex.js%3A25%2C56 into a go function and then just call markdownToSlackBlocks
resolves: #1642